import React from 'react';
import ReactDOM from 'react-dom';
import { HashRouter as Router } from 'react-router-dom';
import configRoutes from './routers'

import './index.css';
import registerServiceWorker from './registerServiceWorker';

ReactDOM.render(
    <Router>
        {configRoutes()}
    </Router>
    , document.getElementById('root'));
registerServiceWorker();
